<div class="advertisements form">
<?php echo $this->Form->create('Advertisement'); ?>
	<fieldset>
		<legend><?php echo __('Edit Advertisement'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('code');
		echo $this->Form->input('status');
		echo $this->Form->input('contract_id');
		echo $this->Form->input('website_id');
		echo $this->Form->input('position');
		echo $this->Form->input('from_date');
		echo $this->Form->input('to_date');
		echo $this->Form->input('cost');
		echo $this->Form->input('Click');
		echo $this->Form->input('title');
		echo $this->Form->input('url_link');
		echo $this->Form->input('server_id');
		echo $this->Form->input('landing_id');
		echo $this->Form->input('advgroup_id');
		echo $this->Form->input('product_id');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Advertisement.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Advertisement.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Advertisements'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Contracts'), array('controller' => 'contracts', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Contract'), array('controller' => 'contracts', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Websites'), array('controller' => 'websites', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Website'), array('controller' => 'websites', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Servers'), array('controller' => 'servers', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Server'), array('controller' => 'servers', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Landings'), array('controller' => 'landings', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Landing'), array('controller' => 'landings', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Advgroups'), array('controller' => 'advgroups', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Advgroup'), array('controller' => 'advgroups', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
	</ul>
</div>
